package com.runfast.waimai.service;

import com.runfast.common.service.IService;
import com.runfast.waimai.dao.model.RunfastGoodsSell;
import com.runfast.waimai.dao.model.RunfastGoodsSellExample;
import com.runfast.waimai.entity.CartItem;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface RunfastGoodsSellService extends IService<RunfastGoodsSell, Integer, RunfastGoodsSellExample> {
<<<<<<< .mine
    void updateSalesnum(RunfastGoodsSell gr);
||||||| .r24
    void updateSalesnum(RunfastGoodsSellRecord gr);
=======
    List<RunfastGoodsSell> search(String name, Integer businessId, Pageable pageable);


    List<Map<String, Object>> findAgentOffZoneGoods(Integer agentId, Pageable pageable);

    RunfastGoodsSell detail(Integer goodsId);


    List<RunfastGoodsSell> findGoodsWithStandar(Integer businessId, List<CartItem> standarIdList);

    List<RunfastGoodsSell> findGoodsWithOption(Integer businessId, List<CartItem> cart);

    List<Map<String, Object>> checkGoodsWithStandar(Integer businessId, List<CartItem> cart);

    List<Map<String, Object>> checkGoodsWithOption(Integer businessId, List<CartItem> cart);
>>>>>>> .r34
}